package com.hopes.bizz.poll.town.dto;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author lyb
 * @version 1.0
 * @description: 环保数据修正dto
 * @date 2023/9/26 16:17
 */

@Data
public class PollTownDataAlterDto {

    @NotNull(message = "主键不可为空")
    private Long id;

    @NotNull(message = "数据不可为空")
    private JSONObject dataJson;

    @NotNull(message = "监控类型不可为空")
    private String dataType;
}
